package com.yj.util.http;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.converter.scalars.ScalarsConverterFactory;

/**
 * Copyright 2017 (C) Yunjian-VC
 * Created on : 2017/12/4
 * Author     : Unbelievable9
 **/
public class RetrofitClient {
    private static final String oaURL = "http://oa1.zrjt.com.cn:81/";

    public static final Retrofit getOARetrofit() {
        return new Retrofit.Builder()
                .baseUrl(oaURL)
                .addConverterFactory(ScalarsConverterFactory.create())
                .addConverterFactory(GsonConverterFactory.create())
                .build();
    }
}
